// livechat by www.mylivechat.com/ 2018-06-12 // first loading if (typeof (MyLiveChat) == "undefined") { MyLiveChat = {}; MyLiveChat.RawConfig ={InPageUseBubbleTopOnlineOnly:"0",InlineChatRoundOffline:"18",UIPopupMode:"Modern",InlineChatRoundPadding:"8",InlineChatRoundMargin:"12",InlineChatRoundOfflineGray:"1",InlineChatRoundOnlineUrl:"",InlineChatTimestampVisible:"1",InlineChatBubbleUIMode:"4",InPageImageOffline:"1",InPageTemplate:"4",InlineChatRoundRadius:"99",InPageUseBubbleTop:"0",InlineChatRoundSize:"36",LS_ShowAllCustomers:"Strict",InlineChatRoundBackColor:"#0275d8",WebConsoleRedirectTime:"637218065854841179",UIMobileMode:"Inline",SupportShowFeedbackUpload:"",WidgetOpenNewWindow:"False",InlineChatRoundOfflineUrl:"",ButtonOpenNewWindow:"False",InPageTemplateMobile:"",InlineChatHideSubject:"1",UIDialogMode:"Modern",InlineChatOfflineLogo:"a1",InlineChatShowAgentPhoto:"0",InPagePosition:"bottomleft",InPageBubbleTop:"1",InlineChatRoundSpace:"6",InlineChatOnlineLogo:"a1",CustomCulture:"en-us",InlineChatWaitingFieldDepartment:"0",InPageImageOnline:"1"}; MyLiveChat.RawQuery ={hccid:"29629718",apimode:"chatinline"}; for (var mlcp in MyLiveChat.RawConfig) { MyLiveChat[mlcp] = MyLiveChat.RawConfig[mlcp]; } for (var mlcp in MyLiveChat.RawQuery) { MyLiveChat[mlcp] = MyLiveChat.RawQuery[mlcp]; } MyLiveChat.HCCID ='29629718'; MyLiveChat.PageBeginTime = new Date().getTime(); MyLiveChat.LoadingHandlers = []; // ,"Departments" MyLiveChat.CPRFIELDS = ["SyncType", "SyncStatus", "SyncResult", "HasReadyAgents", "VisitorUrls", "VisitorStatus", "VisitorDuration", "VisitorEntryUrl", "VisitorReferUrl"]; } else { MyLiveChat.MultiLinked = true; } MyLiveChat.Version =3007; MyLiveChat.FirstRequestTimeout =21600; MyLiveChat.NextRequestTimeout =43200; MyLiveChat.SyncType =null; MyLiveChat.SyncStatus ="LOADING"; MyLiveChat.SyncUserName =null; MyLiveChat.SyncResult ="LOADING"; MyLiveChat.HasReadyAgents =false; MyLiveChat.SourceUrl ="https://www.drurylandetheatre.com/"; MyLiveChat.AgentTimeZone = parseInt("8" || "-5"); MyLiveChat.VisitorStatus =""; MyLiveChat.UrlBase ="https://s1.mylivechat.com/livechat2/"; MyLiveChat.SiteUrl ="https://s1.mylivechat.com/"; if (!MyLiveChat.AgentId) MyLiveChat.AgentId = MyLiveChat.RawAgentId; MyLiveChat.Departments = []; MyLiveChat.Departments.push({ Name:"Default", Agents: [{ Id:'User:1', Name:"admin", Online:false }], Online:false }); MyLiveChat.VisitorUrls = []; function MyLiveChat_AddScript(tag) { var func = MyLiveChat_AddScript; var arr = func._list; if (!arr) func._list = arr = []; if (func._loading) { arr.push(tag); return; } function ontagload() { func._loading = false; if (!arr.length) return; tag = arr.shift(); LoadTag(); } function LoadTag() { func._loading = true; if ('onload' in tag) { tag.onload = ontagload; } else { var iid = setInterval(function () { if (tag.readyState != 'complete' && tag.readyState != 'loaded') return; clearInterval(iid); ontagload(); }, 10); } var p = document.getElementsByTagName("head")[0] || document.body; p.insertBefore(tag, p.firstChild); } LoadTag(); } function MyLiveChat_GetLastScriptTag() { var coll = document.getElementsByTagName("script"); return coll[coll.length - 1]; } function MyLiveChat_ImportCss(url) { var p = document.head || document.getElementsByTagName("head")[0] || document.body; var tag = document.createElement("link"); tag.setAttribute("rel", "stylesheet"); tag.setAttribute("href", url); p.insertBefore(tag, p.firstChild); } function MyLiveChat_DocWrite(html, relativetag) { if (html.substr(0, 7) == "]*)["']/)[1]; if (!MyLiveChat.LoadedScripts) MyLiveChat.LoadedScripts = {}; if (MyLiveChat.LoadedScripts[src]) return; MyLiveChat.LoadedScripts[src] = true; var tag = document.createElement("script"); tag.setAttribute("src", src); MyLiveChat_AddScript(tag); } else { if (!document.body || document.readyState == "loading") { document.write(html); return; } if (!relativetag) relativetag = MyLiveChat_GetLastScriptTag(); var div = document.createElement("DIV"); div.innerHTML = html; while (true) { var c = div.firstChild; if (!c) break; div.removeChild(c); relativetag.parentNode.insertBefore(c, relativetag); } } } MyLiveChat.RandomID = '54ca4bfb-b665-b7b4-17bd-4c705b8ed808'; MyLiveChat.NewGuid = function () { var guid = ""; for (var i = 1; i <= 32; i++) { guid += Math.floor(Math.random() * 16.0).toString(16); if (i == 8 || i == 12 || i == 16 || i == 20) guid += "-"; } return guid; } MyLiveChat.RandomID = MyLiveChat.NewGuid().substring(0, 18) + MyLiveChat.RandomID.substring(18); MyLiveChat.VisitorDuration = 0; MyLiveChat.VisitorEntryUrl = ""; MyLiveChat.VisitorReferUrl = ""; MyLiveChat.ShowButton =true; MyLiveChat.ShowLink =true; MyLiveChat.ShowBox =true; MyLiveChat.ShowSmart =false; MyLiveChat.NoPrivateLabel =true; MyLiveChat.LoadingHandlers.push(function (funcself) { MyLiveChat_RunLoadingHandler('chatinline', funcself); }); MyLiveChat.ResourcesVary ="\x26culture=en-US\x26mlcv=3007\x26template=4"; MyLiveChat['chatinline' + "_script_tag"] = MyLiveChat_GetLastScriptTag(); if (typeof (MyLiveChat_Initialize) != "undefined") { MyLiveChat_Initialize() } else if (!MyLiveChat.MultiLinked) { MyLiveChat_ImportCss(MyLiveChat.UrlBase + "chatinline.css"); MyLiveChat_DocWrite("